<template>
	<scroll-view class="wrapper" :scroll-y="true" :show-scrollbar="false">
		<album-item v-for="(item,index) in dachangAlbums" :key="index" :item="item"></album-item>
	</scroll-view>
</template>

<script>
	import {mapState,mapActions} from "vuex"
	
	export default {
		data() {
			return {

			}
		},
		
		mounted() {
			this.getDachangAlbums()
		},

		computed: mapState([
			'dachangAlbums',
		]),

		methods: {
			...mapActions([
				'getDachangAlbums',
			])
		}
	}
</script>


<style lang="scss" scoped>
	scroll-view.wrapper {
		height: calc(100vh - 180rpx);
		padding: 10rpx;
		padding-right: 15rpx;
		padding-bottom: 20rpx;
		box-sizing: border-box;
	}
</style>